//
//  AppDelegate.swift
//  DSWeiBo
//
//  Created by H on 16/4/10.
//  Copyright © 2016年 Mr.Lin. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

        window = UIWindow(frame:UIScreen.mainScreen().bounds)
        window?.backgroundColor = UIColor.whiteColor()
        window?.rootViewController = NewfeatureCollectionViewController()
        window?.makeKeyAndVisible()
        
        //设置导航条和工具条的外观
        //因为外观一旦设定 全局有效
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
        UITabBar.appearance().tintColor = UIColor.orangeColor()
        
        
        return true
    }

  
}

